/*
 * @Author: huang liang miao 1127255342@qq.com
 * @Date: 2024-11-14 08:44:41
 * @LastEditors: huang liang miao 1127255342@qq.com
 * @LastEditTime: 2024-11-26 15:44:17
 * @FilePath: \dcy-webd:\webCode\dcyCode\scientific_research_manager_web\src\api\system\log.ts
 * @Description: 日志相关
 */
import request from '@/utils/request'

import {
  OperationPageReqDTO,
  PageBeanOperationPageRespVO,
  PageBeanAccountLogPageVO,
} from './type'


// 查询操作日志列表
export function getOperlogListPage(query: OperationPageReqDTO) {
  return request<PageBeanOperationPageRespVO>({
    url: '/base/api/operation/log/page',
    method: 'post',
    data: query
  })
}

// 账号日志查询
export function getAccountlogListPage(query: OperationPageReqDTO) {
  return request<PageBeanAccountLogPageVO>({
    url: '/resource/api/account/log/page',
    method: 'post',
    data: query
  })
}
